package com.softoa.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

public class Historynews {

  private long newsId;
  private long saveUserId;
  private java.sql.Timestamp saveTime;
  private String historyNewsText;
  private String descirbe;
  private java.sql.Timestamp secTime;


  public long getNewsId() {
    return newsId;
  }

  public void setNewsId(long newsId) {
    this.newsId = newsId;
  }


  public long getSaveUserId() {
    return saveUserId;
  }

  public void setSaveUserId(long saveUserId) {
    this.saveUserId = saveUserId;
  }

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  public java.sql.Timestamp getSaveTime() {
    return saveTime;
  }

  public void setSaveTime(java.sql.Timestamp saveTime) {
    this.saveTime = saveTime;
  }


  public String getHistoryNewsText() {
    return historyNewsText;
  }

  public void setHistoryNewsText(String historyNewsText) {
    this.historyNewsText = historyNewsText;
  }


  public String getDescirbe() {
    return descirbe;
  }

  public void setDescirbe(String descirbe) {
    this.descirbe = descirbe;
  }

  public void setSecTime(Timestamp secTime){this.secTime=secTime;}

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  public java.sql.Timestamp getSecTime(){return this.secTime;}

}
